package com.ys.extendsdemo;

/**
 * @author CodeYang
 * @version 2020/12/15 14:06
 */
public class DeriveClass02 extends Superclass{
    public static void main(String[] args) {
        DeriveClass02 deriveClass02 = new DeriveClass02();
        deriveClass02.setName("小王");
        deriveClass02.setAddress("湖北");
        deriveClass02.setAge(18);
        deriveClass02.show();
    }
}
